package com.company.cloud.pay.modules.mgr.controller.req;

import com.company.cloud.common.bean.BaseParam;
import com.company.cloud.pay.modules.cache.model.PayServiceConfigRuleModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;

@Getter
@Setter
public class PayServiceConfigSaveParam extends BaseParam {

    @ApiModelProperty(value = "服务号", required = true)
    @NotEmpty(message = "服务号")
    private String serviceCode;

    @ApiModelProperty(value = "服务名称", required = true)
    @NotEmpty(message = "服务名称")
    private String serviceName;

    @ApiModelProperty(value = "服务安全KEY", required = true)
    @NotEmpty(message = "服务安全KEY")
    private String securityKey;

    @ApiModelProperty(value = "服务状态", required = true)
    @NotEmpty(message = "服务状态")
    private String state;

    @ApiModelProperty(value = "服务规则")
    private PayServiceConfigRuleModel serviceRule;

    @ApiModelProperty(value = "服务订单号前缀")
    private String serviceOrderPrefix;

    @ApiModelProperty(value = "支付通知地址")
    private String payNotifyUrl;

    @ApiModelProperty(value = "退款通知地址")
    private String refundNotifyUrl;

}
